package com.generate.control;

import javax.swing.JTextField;

public class JTextFieldReplace extends JTextField implements IReplace {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7073191554177793664L;

	public JTextFieldReplace() {
		super();
		lstReplaceComponent.add(this);
	}

	private String findText;

	@Override
	public void setFindText(String findText) {
		this.findText = findText;
	}

	@Override
	public String getFindText() {
		return this.findText;
	}

	@Override
	public String getReplaceText() {
		return getText();
	}
}
